<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Class: Libvirt::StoragePool</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
  <script type="text/javascript">
  // <![CDATA[

  function popupCode( url ) {
    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
  }

  function toggleCode( id ) {
    if ( document.getElementById )
      elem = document.getElementById( id );
    else if ( document.all )
      elem = eval( "document.all." + id );
    else
      return false;

    elemStyle = elem.style;
    
    if ( elemStyle.display != "block" ) {
      elemStyle.display = "block"
    } else {
      elemStyle.display = "none"
    }

    return true;
  }
  
  // Make codeblocks hidden by default
  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
  
  // ]]>
  </script>

</head>
<body>



    <div id="classHeader">
        <table class="header-table">
        <tr class="top-aligned-row">
          <td><strong>Class</strong></td>
          <td class="class-name-in-header">Libvirt::StoragePool</td>
        </tr>
        <tr class="top-aligned-row">
            <td><strong>In:</strong></td>
            <td>
                <a href="../../files/ext/libvirt/_libvirt_c.html">
                ext/libvirt/_libvirt.c
                </a>
        <br />
            </td>
        </tr>

        <tr class="top-aligned-row">
            <td><strong>Parent:</strong></td>
            <td>
                Object
            </td>
        </tr>
        </table>
    </div>
  <!-- banner header -->

  <div id="bodyContent">



  <div id="contextContent">

    <div id="description">
      <p>
Class <a href="StoragePool.html">Libvirt::StoragePool</a> and <a
href="StoragePoolInfo.html">Libvirt::StoragePoolInfo</a>
</p>

    </div>


   </div>

    <div id="method-list">
      <h3 class="section-bar">Methods</h3>

      <div class="name-list">
      <a href="#M000019">autostart</a>&nbsp;&nbsp;
      <a href="#M000020">autostart=</a>&nbsp;&nbsp;
      <a href="#M000009">build</a>&nbsp;&nbsp;
      <a href="#M000011">create</a>&nbsp;&nbsp;
      <a href="#M000027">create_vol_xml</a>&nbsp;&nbsp;
      <a href="#M000013">delete</a>&nbsp;&nbsp;
      <a href="#M000012">destroy</a>&nbsp;&nbsp;
      <a href="#M000026">free</a>&nbsp;&nbsp;
      <a href="#M000017">info</a>&nbsp;&nbsp;
      <a href="#M000022">list_volumes</a>&nbsp;&nbsp;
      <a href="#M000024">lookup_volume_by_key</a>&nbsp;&nbsp;
      <a href="#M000023">lookup_volume_by_name</a>&nbsp;&nbsp;
      <a href="#M000025">lookup_volume_by_path</a>&nbsp;&nbsp;
      <a href="#M000015">name</a>&nbsp;&nbsp;
      <a href="#M000021">num_of_volumes</a>&nbsp;&nbsp;
      <a href="#M000014">refresh</a>&nbsp;&nbsp;
      <a href="#M000010">undefine</a>&nbsp;&nbsp;
      <a href="#M000016">uuid</a>&nbsp;&nbsp;
      <a href="#M000018">xml_desc</a>&nbsp;&nbsp;
      </div>
    </div>

  </div>


    <!-- if includes -->

    <div id="section">





      


    <!-- if method_list -->
    <div id="methods">
      <h3 class="section-bar">Public Instance methods</h3>

      <div id="method-M000019" class="method-detail">
        <a name="M000019"></a>

        <div class="method-heading">
          <a href="#M000019" class="method-signature">
          <span class="method-name">autostart</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolGetAutostart">virStoragePoolGetAutostart</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000019-source">
<pre>
/*
 * Call +virStoragePoolGetAutostart+[http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolGetAutostart]
 */
VALUE libvirt_pool_autostart(VALUE s){

</pre>
          </div>
        </div>
      </div>

      <div id="method-M000020" class="method-detail">
        <a name="M000020"></a>

        <div class="method-heading">
          <a href="#M000020" class="method-signature">
          <span class="method-name">autostart=</span><span class="method-args">(p1)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolSetAutostart">virStoragePoolSetAutostart</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000020-source">
<pre>
/*
 * Call +virStoragePoolSetAutostart+[http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolSetAutostart]
 */
VALUE libvirt_pool_autostart_set(VALUE s, VALUE autostart) {

</pre>
          </div>
        </div>
      </div>

      <div id="method-M000009" class="method-detail">
        <a name="M000009"></a>

        <div class="method-heading">
          <a href="#M000009" class="method-signature">
          <span class="method-name">build</span><span class="method-args">(...)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolBuild">virStoragePoolBuild</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000009-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000009-source">
<pre>
/*
 * Call +virStoragePoolBuild+[http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolBuild]
 */
VALUE libvirt_pool_build(int argc, VALUE *argv, VALUE p) {

</pre>
          </div>
        </div>
      </div>

      <div id="method-M000011" class="method-detail">
        <a name="M000011"></a>

        <div class="method-heading">
          <a href="#M000011" class="method-signature">
          <span class="method-name">create</span><span class="method-args">(...)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolCreate">virStoragePoolCreate</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000011-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000011-source">
<pre>
/*
 * Call +virStoragePoolCreate+[http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolCreate]
 */
VALUE libvirt_pool_create(int argc, VALUE *argv, VALUE p) {

</pre>
          </div>
        </div>
      </div>

      <div id="method-M000027" class="method-detail">
        <a name="M000027"></a>

        <div class="method-heading">
          <a href="#M000027" class="method-signature">
          <span class="method-name">create_vol_xml</span><span class="method-args">(...)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStorageVolCreateXML">virStorageVolCreateXML</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000027-source">
<pre>
/*
 * Call +virStorageVolCreateXML+[http://www.libvirt.org/html/libvirt-libvirt.html#virStorageVolCreateXML]
 */
VALUE libvirt_pool_vol_create_xml(int argc, VALUE *argv, VALUE p) {

</pre>
          </div>
        </div>
      </div>

      <div id="method-M000013" class="method-detail">
        <a name="M000013"></a>

        <div class="method-heading">
          <a href="#M000013" class="method-signature">
          <span class="method-name">delete</span><span class="method-args">(...)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolDelete">virStoragePoolDelete</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000013-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000013-source">
<pre>
/*
 * Call +virStoragePoolDelete+[http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolDelete]
 */
VALUE libvirt_pool_delete(int argc, VALUE *argv, VALUE p) {

</pre>
          </div>
        </div>
      </div>

      <div id="method-M000012" class="method-detail">
        <a name="M000012"></a>

        <div class="method-heading">
          <a href="#M000012" class="method-signature">
          <span class="method-name">destroy</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolDestroy">virStoragePoolDestroy</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000012-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000012-source">
<pre>
/*
 * Call +virStoragePoolDestroy+[http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolDestroy]
 */
VALUE libvirt_pool_destroy(VALUE p) {

</pre>
          </div>
        </div>
      </div>

      <div id="method-M000026" class="method-detail">
        <a name="M000026"></a>

        <div class="method-heading">
          <a href="#M000026" class="method-signature">
          <span class="method-name">free</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolFree">virStoragePoolFree</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000026-source">
<pre>
/*
 * Call +virStoragePoolFree+[http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolFree]
 */
VALUE libvirt_pool_free(VALUE s) {

</pre>
          </div>
        </div>
      </div>

      <div id="method-M000017" class="method-detail">
        <a name="M000017"></a>

        <div class="method-heading">
          <a href="#M000017" class="method-signature">
          <span class="method-name">info</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolGetInfo">virStoragePoolGetInfo</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000017-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000017-source">
<pre>
/*
 * Call +virStoragePoolGetInfo+[http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolGetInfo]
 */
VALUE libvirt_pool_info(VALUE s) {

</pre>
          </div>
        </div>
      </div>

      <div id="method-M000022" class="method-detail">
        <a name="M000022"></a>

        <div class="method-heading">
          <a href="#M000022" class="method-signature">
          <span class="method-name">list_volumes</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolListVolumes">virStoragePoolListVolumes</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000022-source">
<pre>
/*
 * Call +virStoragePoolListVolumes+[http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolListVolumes]
 */
VALUE libvirt_pool_list_volumes(VALUE s) {

</pre>
          </div>
        </div>
      </div>

      <div id="method-M000024" class="method-detail">
        <a name="M000024"></a>

        <div class="method-heading">
          <a href="#M000024" class="method-signature">
          <span class="method-name">lookup_volume_by_key</span><span class="method-args">(p1)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStorageVolLookupByKey">virStorageVolLookupByKey</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000024-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000024-source">
<pre>
/*
 * Call +virStorageVolLookupByKey+[http://www.libvirt.org/html/libvirt-libvirt.html#virStorageVolLookupByKey]
 */
VALUE libvirt_pool_lookup_vol_by_key(VALUE p, VALUE key) {

</pre>
          </div>
        </div>
      </div>

      <div id="method-M000023" class="method-detail">
        <a name="M000023"></a>

        <div class="method-heading">
          <a href="#M000023" class="method-signature">
          <span class="method-name">lookup_volume_by_name</span><span class="method-args">(p1)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStorageVolLookupByName">virStorageVolLookupByName</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000023-source">
<pre>
/*
 * Call +virStorageVolLookupByName+[http://www.libvirt.org/html/libvirt-libvirt.html#virStorageVolLookupByName]
 */
VALUE libvirt_pool_lookup_vol_by_name(VALUE p, VALUE name) {

</pre>
          </div>
        </div>
      </div>

      <div id="method-M000025" class="method-detail">
        <a name="M000025"></a>

        <div class="method-heading">
          <a href="#M000025" class="method-signature">
          <span class="method-name">lookup_volume_by_path</span><span class="method-args">(p1)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStorageVolLookupByPath">virStorageVolLookupByPath</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000025-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000025-source">
<pre>
/*
 * Call +virStorageVolLookupByPath+[http://www.libvirt.org/html/libvirt-libvirt.html#virStorageVolLookupByPath]
 */
VALUE libvirt_pool_lookup_vol_by_path(VALUE p, VALUE path) {

</pre>
          </div>
        </div>
      </div>

      <div id="method-M000015" class="method-detail">
        <a name="M000015"></a>

        <div class="method-heading">
          <a href="#M000015" class="method-signature">
          <span class="method-name">name</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolGetName">virStoragePoolGetName</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000015-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000015-source">
<pre>
/*
 * Call +virStoragePoolGetName+[http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolGetName]
 */
VALUE libvirt_pool_name(VALUE s) {

</pre>
          </div>
        </div>
      </div>

      <div id="method-M000021" class="method-detail">
        <a name="M000021"></a>

        <div class="method-heading">
          <a href="#M000021" class="method-signature">
          <span class="method-name">num_of_volumes</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolNumOfVolumes">virStoragePoolNumOfVolumes</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000021-source">
<pre>
/*
 * Call +virStoragePoolNumOfVolumes+[http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolNumOfVolumes]
 */
VALUE libvirt_pool_num_of_volumes(VALUE s) {

</pre>
          </div>
        </div>
      </div>

      <div id="method-M000014" class="method-detail">
        <a name="M000014"></a>

        <div class="method-heading">
          <a href="#M000014" class="method-signature">
          <span class="method-name">refresh</span><span class="method-args">(...)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolRefresh">virStoragePoolRefresh</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000014-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000014-source">
<pre>
/*
 * Call +virStoragePoolRefresh+[http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolRefresh]
 */
VALUE libvirt_pool_refresh(int argc, VALUE *argv, VALUE p) {

</pre>
          </div>
        </div>
      </div>

      <div id="method-M000010" class="method-detail">
        <a name="M000010"></a>

        <div class="method-heading">
          <a href="#M000010" class="method-signature">
          <span class="method-name">undefine</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolUndefine">virStoragePoolUndefine</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000010-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000010-source">
<pre>
/*
 * Call +virStoragePoolUndefine+[http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolUndefine]
 */
VALUE libvirt_pool_undefine(VALUE p) {

</pre>
          </div>
        </div>
      </div>

      <div id="method-M000016" class="method-detail">
        <a name="M000016"></a>

        <div class="method-heading">
          <a href="#M000016" class="method-signature">
          <span class="method-name">uuid</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolGetUUIDString">virStoragePoolGetUUIDString</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000016-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000016-source">
<pre>
/*
 * Call +virStoragePoolGetUUIDString+[http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolGetUUIDString]
 */
VALUE libvirt_pool_uuid(VALUE s) {

</pre>
          </div>
        </div>
      </div>

      <div id="method-M000018" class="method-detail">
        <a name="M000018"></a>

        <div class="method-heading">
          <a href="#M000018" class="method-signature">
          <span class="method-name">xml_desc</span><span class="method-args">(...)</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
Call <tt><a
href="http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolGetXMLDesc">virStoragePoolGetXMLDesc</a></tt>
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000018-source">
<pre>
/*
 * Call +virStoragePoolGetXMLDesc+[http://www.libvirt.org/html/libvirt-libvirt.html#virStoragePoolGetXMLDesc]
 */
VALUE libvirt_pool_xml_desc(int argc, VALUE *argv, VALUE s) {

</pre>
          </div>
        </div>
      </div>


    </div>


  </div>


<div id="validator-badges">
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>

</body>
</html>